<%@page import="com.mmy.domain.scenic.TScenicBase"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>

<title>景区信息</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>景区信息</h2>			
		</div>
	</header>
	<section class="container">
			<div class="information">
				<form action="savecreatescenicbase" method="post" name="scenicBaseForm" onSubmit="return scenicBaseSubmit(this);" enctype="multipart/form-data">
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建景点信息
						</h4>
				<div class="input-container">
				<table class="info-table" >
				<tr>
					<th><label for="ScenicName">景区名称</label></th>
					<td>
						<input type="text" id="ScenicName" name="ScenicName" maxlength="64" required/><span class="mustWrite">*</span>
					</td>
					<th><label for="ScenicRate">景区星级</label></th>
					<td>
						<input type="text" id="ScenicRate" name="Rate" maxlength="32" />
					</td>
				</tr>
				<tr>
					<th><label for="ScenicContact">联系人</label></th>
					<td>
						<input type="text" id="ScenicContact" name="Contact" maxlength="5" required/><span class="mustWrite">*</span>
					</td>
					<th><label for="ScenicTel">联系电话</label></th>
					<td>
						<input type="text" id="ScenicTel" name="Tel" maxlength="11" required/><span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
					
					<th><label for="ScenicZoneID">所属区域</label></th>
					<td colspan="3">		
						<select class="input-select-vlign" id="ScenicZoneID" name="Province" emptyOption="false"  onchange="changeSelect(this,'getLevel4','level3','City')" >
					<option value="">---请选择---</option>
					<c:forEach var="lstZoneProvince" items="${lstZoneProvince}">
						<option value="${lstZoneProvince.getZoneID()}">${lstZoneProvince.getZoneName()}</option>
						</c:forEach>
						</select>
						<select class='input-select-vlign City' name='City' emptyOption='false' onchange="changeSelect(this,'getLevel8','level4','ZoneID')">
						<option >---请选择---</option>
						</select> 	
	<select class='input-select-vlign ZoneID' name='ZoneID' emptyOption='false' >
							<option >---请选择---</option> 
						</select><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr>
					<th><label for="ScenicAddress">景区地址</label></th>
					<td colspan="3">
						<input type="text" id="ScenicAddress" name="Address" maxlength="128" required/><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr>
					<th><label for="ScenicIntro">景区介绍</label></th>
					<td colspan="3">
						<textarea name="Intro" id="ScenicIntro" maxlength="256" required></textarea>
						<span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
				<!-- 图片大小宽300px 高200px -->
					<th><label for="ScenicImgPath">景区图片</label></th>
					<td colspan="3">
						<input type="file" id="ScenicImgPath" name="fScenicImg" />
					</td>
					
				</tr>
				<tr>
					<th><label for="ScenicMemo">备注</label></th>
					<td colspan="3">
						<textarea name="Memo" id="ScenicMemo" maxlength="256" ></textarea>
					</td>
				</tr>	
					
				</table>
				<center>
				<input type="submit" class="btn" value="保存" />
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
				</center> 
				
							
							
				</div>
				</form>
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
		
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>